package com.dykj.dati.utils;

import cn.hutool.core.date.DateUtil;

import java.util.Date;

public class test {
    public static void main(String[] args) {
        Date start= DateUtil.parse("2023-08-28 09:00:00");
        Date end= DateUtil.parse("2023-09-01 17:00:00");

        Date dq= DateUtil.parse("2023-09-01 16:00:00");
        boolean boo = DateUtil.isIn(dq,start,end);
        System.out.println(boo);
    }
}
